package com.itheima.method.method3;

public class Demo2Method {
    public static void main(String[] args) {
        get(6,"迈巴赫");
    }

    public static void get(int count,String msg) {
        for (int i = 0; i < count ; i++) {
            System.out.println(msg);
        }
    }
}
